#ifndef UTIL_HEADER
#define UTIL_HEADER

#include <stdint.h>

#include "config.h"

int valid_config(struct config *);
uint16_t crc16_update(uint16_t, uint8_t);
void dump_config(struct config *);
int valid_crc(void *, int);
char *pid_units(uint8_t);
double conv_pid_data(uint8_t, uint32_t);

#endif
